package com.springboot.lotterysystem.common.errorcode;


import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description :
 * User: jiume
 * Date: 2025-04-19
 * Time: 15:42
 */
@Data
public class ErrorCode {
    // 错误码
    private final Integer code;
    // 错误信息
    private final String msg;

    public ErrorCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
